package com.test.pdproject.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class IndexController extends BaseController {

    @RequestMapping(value = "/")
    public String toLogin(HttpServletRequest request){
        request.setAttribute("aaa","这是登录页面view/login");
        return "index";
    }
}
